<?php

class Example extends WebTestCase
{
  protected function setUp()
  {
    $this->setBrowser("*chrome");
    $this->setBrowserUrl("http://sigescom.snt/");
  }

  public function testMyTestCase()
  {
    $this->open("/index.php");
    sleep(5);
    $this->type("id=LoginForm_username", "admin");
    $this->type("id=LoginForm_password", "admin1234");
    $this->click("name=yt0");
    $this->click("name=yt0");
    $this->waitForPageToLoad("30000");
    sleep(5);
    $this->click("link=Salir");
    $this->waitForPageToLoad("30000");
    sleep(5);
  }
}
